<!doctype html>
<html ng-app="dlmApp">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
    <meta http-equiv="expires" content="0">
    <title>大脸猫</title>
    <meta name="description" content="大脸猫">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0,user-scalable=no">
    <link rel="stylesheet" href="css/main.css">
    <link rel="stylesheet" href="css/common.css">
<body style="height: auto">
<div class="container view-animate" ng-view="" onload="viewloadHandler()" autoscroll=""></div>
<div class="loadApp animate-show" ng-show="showAppload">
    <span>
        <img src="imgs/loading.gif" height="75" width="75" alt="">
    </span>
</div>
<script>
    (function () {
    document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
        window.weixinShareTitle = '逆天了？躺在家里做美甲还5折，你信吗？试下大脸猫。”';
        window.weixinShareImgUrl = 'http://mj.mybitsea.com/images/512logo.png';
        WeixinJSBridge.call('hideToolbar');
        // 分享至朋友圈
        WeixinJSBridge.on('menu:share:timeline', function (argv) {
            var link = window.location.href.replace(/\?user_id=[a-zA-Z0-9]+$/, '');
            link = window.encodeURIComponent(link);
            link = 'http://meijia.365pp.com/zmw/weixin/check_user?url=' + link;

            if (/(iPhone|iPad|iPod|iOS)/i.test(window.navigator.appVersion)) {
                window.weixinShareImgUrl = 'http://mj.mybitsea.com/images/512logo.png';
            }
            WeixinJSBridge.invoke('shareTimeline', {
                img_url: window.weixinShareImgUrl,
                link: link,
                title: window.weixinShareTitle,
                desc: ''
            }, function (res) {
                WeixinJSBridge.log(res.err_msg);
                // alert(res);
            });
        });

    }
    );
}());
</script>
<script src="js/jquery-1.11.2.min.js"></script>
<!--<script src="js/jquery.cookie.js"></script>-->
<script src="js/angular.js"></script>
<script src="js/angular-route.js"></script>
<script src="js/angular-cookies.js"></script>
<script src="js/main.js"></script>
<script src="js/common.js"></script>
